# -*- coding: utf-8 -*-
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#作者：cacho_37967865
#博客：https://blog.csdn.net/sinat_37967865
#文件：opencv_model.py
#日期：2019-09-06
#备注：OpenCV是计算机视觉库  pip install opencv_python  需要依赖numpy和scipy这两个库
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

import cv2

img = cv2.imread('F:\PythonProject\machinelearn\ocr\\xmy.jpg')     # 图像的载入
cv2.namedWindow('image')                                           # 创建窗口
cv2.imshow('image', img)                                           # 图像显示
cv2.waitKey(2000)                                                  # 等待2000ms=2s
cv2.destroyAllWindows()                                            # 关闭所有窗口


